xentoollog: provide XTL_STDIOSTREAM_PROGRESS_USE_CR
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 7 Jan 2014 18:07:30 +0000 (18:07 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 19 Mar 2014 13:42:13 +0000 (13:42 +0000)
commit2d25bffafb5c0fdacf2e40a89a0a22b57e18789d
treec8fc59a1c491d04adb5e3f1a50accab6f3b427f0
parent25c07931d570cd012472e378078f11a6db57f091
xentoollog: provide XTL_STDIOSTREAM_PROGRESS_USE_CR

Provide flags
  XTL_STDIOSTREAM_PROGRESS_USE_CR
  XTL_STDIOSTREAM_PROGRESS_NO_CR
to allow the caller to force, or disable, the use of \r-based
overwriting of progress messages.

In the implementation, rename the variable "tty" to "progress_use_cr".

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xentoollog.h
tools/libxc/xtl_logger_stdio.c